]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
unlockDialog: Don't explicitly show prompt
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 14 Feb 2020 13:51:10 +0000 (14:51 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 14 Feb 2020 13:56:25 +0000 (14:56 +0100)
The promptBox is initially fully opaque, so showing it before the
transition can result in a brief flash before fading in.

Just remove the show() call and let the transition handle the
visibility.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2212

js/ui/unlockDialog.js

index dd6f971cffc3fca1134e122c43c8f065f7a2e043..cae22f20e1c56c76348c3978a7bcf60d52d8e3bc 100644 (file)
@@ -665,7 +665,6 @@ var UnlockDialog = GObject.registerClass({
             return;
 
         this._activePage = this._promptBox;
-        this._promptBox.show();
 
         this._adjustment.ease(1, {
             duration: CROSSFADE_TIME,